package qiusv;

public class Test2 {
	public static void main(String[] args) {
		Tri t1 = new Tri(3, 4, 5);
		System.out.println(t1.toString());
		Rect r1 = new Rect(3, 4);
		System.out.println(r1.toString());
		Cir c1 = new Cir(3);
		System.out.println(c1.toString());

		Globe g1 = new Globe(3);
		System.out.println(g1.toString());
		Cylinder cy1 = new Cylinder(3, 4);
		System.out.println(cy1.toString());
		Cone co1 = new Cone(3, 4, 5);
		System.out.println(co1.toString());

	}

}
